const express = require('express');
const router = express.Router();
const sqlGeneratorController = require('../controllers/sqlGeneratorController');

// TODO: 添加nl-to-sql路由
router.post('/nl-to-sql', sqlGeneratorController.generateSQL);

// TODO: 添加nl-execute路由
router.post('/nl-execute', sqlGeneratorController.executeNLQuery);

// TODO: 添加test-generation路由
router.post('/test-generation', sqlGeneratorController.testSQLGeneration);

module.exports = router;